package acoes.interfaces;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public abstract class Acao implements Cloneable {
	private String nome;
	
	public Acao(String nome){
		this.nome = nome;
	}
	
	public String getNome(){
		return nome;
	}
	
	public abstract void tratarRequisicao(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException;
	public abstract Acao clone();	
}